
// DeviceCloudDlg.h : header file
//

#pragma once

#include "../../pictureui/normalui/dialogmainbase.h"
#include "../../pictureui/normalui/customstatic.h"
#include "../../pictureui/normalui/pictureedit.h"
#include "../../pictureui/normalui/picturebutton.h"

#include "dcaccountdlg.h"
#include "dcsettingdlg.h"

// CDeviceCloudDlg dialog
class CDeviceCloudDlg : public CDialogMainBase
{
// Construction
public:
	CDeviceCloudDlg(CWnd* pParent = NULL);	// standard constructor
	virtual ~CDeviceCloudDlg();

// Dialog Data
	enum { IDD = IDD_DEVICECLOUD_DIALOG };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support

	virtual bool OnInitMainControls();

private:
	CDCAccountDlg  m_dlgAccount;
	CDCSettingDlg  m_dlgSetting;

// Implementation
protected:
	HICON m_hIcon;

	CPictureButton m_btnClose;
	CPictureButton m_btnAccount;
	CPictureButton m_btnSetting;
	CPictureButton m_btnAbout;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedBtnClose();
	afx_msg void OnBnClickedBtnAccount();
	afx_msg void OnBnClickedBtnSetting();
	afx_msg void OnBnClickedBtnAbout();
};
